<?php
unset($_SESSION[WEB_SESSION_ACCOUNT]);
unset($_SESSION["addons_check"]);
unset($_SESSION);
session_destroy();
session_start();
header("location:" . create_url('site', array(
    'name' => 'public',
    'do' => 'index'
)));